package com.xd.core.bill.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xd.core.business.entity.Information;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 提前还款详情
 * </p>
 *
 * @author ZCH
 * @since 2025/03/03/16:46
 */
@Data
@Accessors(chain = true)
public class SurrenderVo {

    @ApiModelProperty(value = "进件id")
    private Integer incomingId;

    @ApiModelProperty(value = "	债权id")
    private Integer id;

    @ApiModelProperty(value = "申请退保日期")
    @JsonFormat(pattern = "yyyy-MM-dd", shape = JsonFormat.Shape.STRING, timezone = "GMT+8")
    private Date applySurrenderDate;

    @ApiModelProperty(value = "已逾期天数")
    private String overdueDays;

    @ApiModelProperty(value = "订单状态  1:还款中 2:已结清 3:已逾期 4:退保中 5:已退保")
    private Integer status;

    @ApiModelProperty(value = "订单状态  1:还款中 2:已结清 3:已逾期 4:退保中 5:已退保")
    private String statusRemark;

    @ApiModelProperty(value = "保单现金价值")
    private BigDecimal cashValue;

    @ApiModelProperty(value = "剩余应还本金")
    private BigDecimal remainingShouldRepayPrincipal;

    @ApiModelProperty(value = "剩余应还利息")
    private BigDecimal remainingShouldRepayInterest;

    @ApiModelProperty(value = "逾期利息(单位元)")
    private BigDecimal overdueInterest;

    @ApiModelProperty(value = "违约金")
    private BigDecimal currentRepaymentPenalty;

    @ApiModelProperty(value = "资料url")
    private List<Information> information;
}
